class CarStore(object):
    def order(self, money):
        if money > 50000:
            return Car()


class Car(object):
    def move(self):
        print("正在移动")

    def music(self):
        print("正在播放音乐")

    def stop(self):
        print("车在停止")

car_store = CarStore()
car = car_store.order(100000)
car.move()
car.music()
car.stop()

